package com.zhoug.share;

import android.content.Context;


import com.zhoug.common.utils.LogUtils;

import cn.jiguang.share.android.api.JShareInterface;


/**
 * 描述：
 * zhougan
 * 2020/2/24
 **/
public final class ShareLib {
    private static final String TAG = ">>>ShareLib";

    /**
     * 需要初始化
     * @param application
     * @param debug
     */
    public static void init(Context application,boolean debug){
        LogUtils.d(TAG, "init:极光分享初始化");
        //极光分享初始化
        JShareInterface.setDebugMode(debug);
        JShareInterface.init(application);
    }
}
